#ifndef BACKGROUND_HEADER
#define BACKGROUND_HEADER

#include "AbstractClasses\GameEntity.h"
#include "../Dependencies.h"
#include "../Inputs/AbstractClasses/KeyboardListener.h"
#include "../Inputs/AbstractClasses/MouseListener.h"

class Background: public GameEntity, public KeyboardListener, public MouseListener{
public:
	Background(int, std::string);
	~Background();
	void draw();
	void actualUpdate(unsigned long long timePassed);

	void onKeyPressed(int);			//If a key is pressed, this function is called
	void onKeyReleased(int);		//If a key is released, this function is called

	void onMouseMoved(int, int);			//If a mouseIsMoved, this function is called
	void onMouseClicked(int, int);			//If a mouseIsClicked, this function is called
	void onMouseScrolled(int, int, int);	//If a mouseIsScrolled, this function is called

	void reset();

	int getType();

private:
	//BackgroundMESH _mesh;
	ORIENTATION _orientation;
	VECTOR _translationvector;
	int _directionState;
	int _scrollDistance;
	POINT3D origPosition;
};
#endif